package cn.dto;

import cn.dto.common.CommonRequest;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author tianshq
 * @date 2025/9/4 20:17
 * @description init
 */
@Data
@Accessors(chain =true)
@ApiModel("签名请求报文体")
@ToString
public class SignRequest {


    @NotBlank(message = "申请单号不能为空")
    @Size(max = 28, message = "申请单号长度不能超过28个字符")
    private String applyNo;

    @NotBlank(message = "授权信息不能为空")
    @Size(max = 64, message = "授权信息长度不能超过64个字符")
    private String authInfo;

    @NotBlank(message = "钱包ID不能为空")
    @Size(max = 16, message = "钱包ID长度不能超过16个字符")
    private String wltId;


    private List<String> authList;

    public String getApplyNo() {
        return applyNo;
    }

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }

    public String getAuthInfo() {
        return authInfo;
    }

    public void setAuthInfo(String authInfo) {
        this.authInfo = authInfo;
    }

    public List<String> getAuthList() {
        return authList;
    }

    public void setAuthList(List<String> authList) {
        this.authList = authList;
    }
}
